package com.jd.controller;

import com.jd.pojo.User;
import com.jd.service.UserService;
import com.jd.service.UserServiceImpl;

public class UserController {
    private  UserService userService;
    private  User user;

    public void setUserService(UserService userService) {
        this.userService = userService;
    }

    public void setUser(User user) {
        this.user = user;
    }
    public void AddUser(){
        userService.AddUser(user);
    }
}
